<?php /* Smarty version Smarty 3.1.0, created on 2011-10-01 17:40:18
         compiled from "/projects/newmasmedio/templates/verNota.tpl" */ ?>
<?php /*%%SmartyHeaderCode:7584139854e87a4b73c19b7-37511770%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '344e6281f07dc0827bd6fd790c28cc43b82f88f6' => 
    array (
      0 => '/projects/newmasmedio/templates/verNota.tpl',
      1 => 1317512417,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '7584139854e87a4b73c19b7-37511770',
  'function' => 
  array (
  ),
  'version' => 'Smarty 3.1.0',
  'unifunc' => 'content_4e87a4b74a05d',
  'variables' => 
  array (
    'arrNota' => 0,
    'recaptcha' => 0,
    'notaID' => 0,
    'commentList' => 0,
    'comment' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_4e87a4b74a05d')) {function content_4e87a4b74a05d($_smarty_tpl) {?><?php if (!is_callable('smarty_modifier_date_format')) include '/usr/local/lib/Smarty_3_1_0/libs/plugins/modifier.date_format.php';
?><?php echo $_smarty_tpl->getSubTemplate ('../templates/header.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

<div id="notaContainer">
    <?php if ($_smarty_tpl->tpl_vars['arrNota']->value['imagen']){?>
        <div class="fotoBorder">
            <img class="ANFoto" src="/fotos/<?php echo $_smarty_tpl->tpl_vars['arrNota']->value['imagen'];?>
" alt="">
            <span class="pieFoto"><?php echo $_smarty_tpl->tpl_vars['arrNota']->value['piefoto'];?>
</span>
        </div>    
    <?php }?>
    <h3><?php echo $_smarty_tpl->tpl_vars['arrNota']->value['titulo'];?>
</h3>    
    <div id="descripcion"><?php echo $_smarty_tpl->tpl_vars['arrNota']->value['descripcion'];?>
</div>
    <div id="seccionFecha"><?php echo $_smarty_tpl->tpl_vars['arrNota']->value['seccion'];?>
<br /><?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['arrNota']->value['fechaPublicacion'],"%d-%m-%Y");?>
 <?php echo smarty_modifier_date_format($_smarty_tpl->tpl_vars['arrNota']->value['horaPublicacion'],'%H:%M');?>
</div>
    <div><?php echo html_entity_decode($_smarty_tpl->tpl_vars['arrNota']->value['texto'],@ENT_QUOTES,'utf-8');?>
</div> 
    <div class="banner728x90Nota">
		<script type='text/javascript'><!--// <![CDATA[
    /* [id2] www.masmedio.com\/ - 728x90 */
    OA_show(2);
// ]]> --></script><noscript><a target='_blank' href='http://www.masmedio.com/openx285/openx285/www/delivery/ck.php?n=1e8bd3a'><img border='0' alt='' src='http://www.masmedio.com/openx285/openx285/www/delivery/avw.php?zoneid=2&amp;n=1e8bd3a' /></a></noscript>
	</div>   
    <div id="sendComments">
    	<a class="leerMasComents" href="#frmComments">Env&iacute;e un Comentario</a>
        <div id="frmComments">
        	<form action="" method="post" name="frmSendComments">
            	<table>
                	<tr>
                    	<td>
                        	<input type="text" value="Nombre" id="userName" name="userName" onfocus="clearText(this)" class="txtNotas">
                        </td>
                    </tr>
                    <tr>
                    	<td>
                        	<input type="text" value="Email" id="userEmail" name="userEmail" onfocus="clearText(this)" class="txtNotas">
                        </td>
                    </tr>
                    <tr>
                    	<td>
                        	<textarea id="txtComment" rows="5" cols="" name="txtComment" onfocus="clearText(this)" class="txtNotas">Escribe tu comentario Aqui.</textarea>
                        </td>
                    </tr>
                    <tr>
                    	<td>
                        	<?php echo $_smarty_tpl->tpl_vars['recaptcha']->value;?>

                        </td>
                    </tr>
                    <tr>
                    	<td>
							<input type="button" value="Enviar Comentario" onclick="sendComment()" name="btnComentar" id="btnComentar">
                            <input type="hidden" value="<?php echo $_smarty_tpl->tpl_vars['notaID']->value;?>
" name="notaid">
                        </td>
                    </tr>
                </table>
            </form>
        </div>
	</div>    
    <div id="commentBox">
    	<?php  $_smarty_tpl->tpl_vars['comment'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['commentList']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
$_loop = false;
foreach ($_from as $_smarty_tpl->tpl_vars['comment']->key => $_smarty_tpl->tpl_vars['comment']->value){
$_loop = true;
?>
			<div style="border: 1px #666 dotted; float:left; clear:both; margin-top:10px; padding:10px;">
                <div class="nomComent"><?php echo $_smarty_tpl->tpl_vars['comment']->value['user'];?>
</div>
                <div class="fechaComent"><?php echo $_smarty_tpl->tpl_vars['comment']->value['fechaCreado'];?>
</div>
                <div class="coment"><?php echo $_smarty_tpl->tpl_vars['comment']->value['comentario'];?>
</div>
			</div>
        <?php } ?>
    </div>    
</div>
<div id="latDer">
<?php echo $_smarty_tpl->getSubTemplate ('../templates/latDer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>

</div>
	
<?php echo $_smarty_tpl->getSubTemplate ('../templates/footer.tpl', $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null, array(), 0);?>
<?php }} ?>